home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 11 - 1995 / 11.02 Feb 95 / Yenta / Erics C++ Libraries / Interface Classes / CPPWindowManager.h < prev   
Encoding:
C/C++ Source or Header  |  1996-04-04  |  862 b   |  36 lines  |  [TEXT/KAHL]

  1. /********************************************************* DEFINITION
  2.     DATE:    9/21/93
  3.     AUTHOR: Eric R. Rosé
  4.     
  5.     CLASS:  CPPWindowManager
  6.     
  7.     SUPERCLASS: CPPObject
  8.     
  9.         This C++ class keeps track of the windows our application uses
  10.     
  11. ********************************************************************/
  12.  
  13. #pragma once
  14.  
  15. #include <CPPObjectList.h>
  16. #include <CPPWindow.h>
  17.  
  18. class CPPWindowManager : public CPPObjectList {
  19. public:
  20.             CPPWindowManager(void);
  21.             ~CPPWindowManager(void);
  22.                     
  23.     virtual    char     *ClassName (void);
  24.     
  25.     CPPWindow    *FrontWindowObject (void);
  26.     CPPWindow    *FindWindowObject (WindowPtr theWindow);
  27.     
  28.     void        ActivateWindowObject (CPPWindow *theWindow);
  29.     void        DeactivateWindowObject (CPPWindow *theWindow);
  30.     
  31.     void        StartManagingWindow (CPPWindow *theWindow);
  32.     void        StopManagingWindow (CPPWindow *theWindow);
  33.  
  34. private:
  35.     CPPWindow    *frontWindowObject;
  36. };